package com.crazy.practice.boot;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

@ComponentScan(basePackages="com.crazy")
@SpringBootApplication
public class PracticeBootApplication {
    private static Log logger = LogFactory.getLog(PracticeBootApplication.class);

    public static void main(String[] args) {
        logger.info("====================正在启动PracticeBootApplication=======================");
        SpringApplication.run(PracticeBootApplication.class, args);
        logger.info("====================服务启动成功=======================");
    }

}
